4D Chart v13

CT GET FILL ATTRIBUTES

Home

 
4D Chart v13
CT GET FILL ATTRIBUTES

CT GET FILL ATTRIBUTES 


 

CT GET FILL ATTRIBUTES ( area ; scope ; pattern ; color ) 
Parameter Type   Description
area  Longint in 4D Chart area
scope  Longint in Scope of the command -2 = Default -1 = All 0 = Selected objects >0 = Object ID
pattern  Integer in Receives pattern (0 to 36)
color  Longint in Receives color value

The CT GET FILL ATTRIBUTES command returns in the variables the fill attributes for the object(s) in area described by scope. Fill attributes are determined by the interiors of objects.

pattern is the number of the pattern in the palette. The following are the codes for the pattern parameter:

color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions.

Note: Use this command to get the attributes of objects added to the document using the drawing tools or the drawing functions in this theme. To get the attributes of chart objects, such as series columns, use the commands in the Chart theme.

Example  

This example returns the selected object’s fill attributes in the $Pattern and $Color variables.

 CT GET FILL ATTRIBUTES(Area;0;$Pattern;$Color)

 
PROPERTIES 

Product: 4D Chart
Theme: CT Objects
Number: 14572

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET CHART FILL ATTRIBUTES
CT SET FILL ATTRIBUTES